#-------------------------------------------------
#
# Project created by QtCreator 2019-08-02T10:58:25
#
#-------------------------------------------------

#表示包含了core和 gui模块，保证开发GUI程序无需进一步配置
QT       += core gui

#如果QT主版本大于4（也就是说当前使用的是Qt5或者更高版本），则需要添加widgets模块。也可以直接用“QT+=widgets”，但这样可以保持与QT4的兼容性
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = pa16 #生成目标文件的名字
TEMPLATE = app #定义工程的编译模式，默认为app,还可以是lib(库)，subdirs（多级目录管理等）

# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS #警告信息

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0


SOURCES += main.cpp\
        dialog.cpp

HEADERS  += dialog.h
